package com.hjc.mapper;

import com.hjc.pojo.Class;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.time.LocalDate;
import java.util.List;

@Mapper
public interface ClassMapper {

    @Select("select * from tlias.class")
    List<Class> list();


    void insert(Class c);

    void delete(List<Integer> ids);

    void update(Class c);

    List<Class> list2(String className, LocalDate begin, LocalDate end);
}
